package com.glory.dgcpcpda.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: MaterielListEntity
 * Author: XJH
 * Date: 2020/5/27 16:55
 * Description:
 * History:
 */
public class MaterielListEntity implements Serializable {

  private List<Materiel> MLOTLIST;
  private Materiel POSITIONSET;

  public Materiel getPOSITIONSET() {
    return POSITIONSET == null ? new Materiel() : POSITIONSET;
  }

  public void setPOSITIONSET(Materiel POSITIONSET) {
    this.POSITIONSET = POSITIONSET;
  }

  public List<Materiel> getMLOTLIST() {
    if (MLOTLIST == null) {
      return new ArrayList<>();
    }
    return MLOTLIST;
  }

  public void setMLOTLIST(List<Materiel> MLOTLIST) {
    this.MLOTLIST = MLOTLIST;
  }

  public class Materiel implements Serializable{
    private String OBJECTRRN;
    private String ORGRRN;
    private String MLOTID;
    private String SUBMATTYPE;
    private String MAINQTY;
    private String SUBQTY;
    private String STATE;
    private String HOLDSTATE;
    private String MATERIALRRN;
    private String MATERIALNAME;
    private String MATERIALDESC;
    private String MATERIALTYPE;
    private String PARTNERCODE;
    private String PARTNERLOTID;
    private String TRANSMAINQTY;
    private String USEQTY;
    private String ISTIMESENSITIVE;
    private String CREATED;
    private String LOTCOMMENT;
    private String UOMID;
    private String BATCHTYPE;
    private String POSITIONNAME;
    private String POSITIONDESC;
    private Materiel MLOT;
    private List<Materiel> POSITIONSETLINES;
    private Object UDF;

    public Object getUDF() {
      return UDF;
    }

    public void setUDF(Object UDF) {
      this.UDF = UDF;
    }

    public String getPOSITIONDESC() {
      return POSITIONDESC == null ? "" : POSITIONDESC;
    }

    public void setPOSITIONDESC(String POSITIONDESC) {
      this.POSITIONDESC = POSITIONDESC;
    }

    public List<Materiel> getPOSITIONSETLINES() {
      if (POSITIONSETLINES == null) {
        return new ArrayList<>();
      }
      return POSITIONSETLINES;
    }

    public void setPOSITIONSETLINES(List<Materiel> POSITIONSETLINES) {
      this.POSITIONSETLINES = POSITIONSETLINES;
    }

    public String getPOSITIONNAME() {
      return POSITIONNAME == null ? "" : POSITIONNAME;
    }

    public void setPOSITIONNAME(String POSITIONNAME) {
      this.POSITIONNAME = POSITIONNAME;
    }

    public Materiel getMLOT() {
      return MLOT == null ? new Materiel() : MLOT;
    }

    public void setMLOT(Materiel MLOT) {
      this.MLOT = MLOT;
    }

    public String getOBJECTRRN() {
      return OBJECTRRN == null ? "" : OBJECTRRN;
    }

    public void setOBJECTRRN(String OBJECTRRN) {
      this.OBJECTRRN = OBJECTRRN;
    }

    public String getORGRRN() {
      return ORGRRN == null ? "" : ORGRRN;
    }

    public void setORGRRN(String ORGRRN) {
      this.ORGRRN = ORGRRN;
    }

    public String getMLOTID() {
      return MLOTID == null ? "" : MLOTID;
    }

    public void setMLOTID(String MLOTID) {
      this.MLOTID = MLOTID;
    }

    public String getSUBMATTYPE() {
      return SUBMATTYPE == null ? "" : SUBMATTYPE;
    }

    public void setSUBMATTYPE(String SUBMATTYPE) {
      this.SUBMATTYPE = SUBMATTYPE;
    }

    public String getMAINQTY() {
      return MAINQTY == null ? "" : MAINQTY;
    }

    public void setMAINQTY(String MAINQTY) {
      this.MAINQTY = MAINQTY;
    }

    public String getSUBQTY() {
      return SUBQTY == null ? "" : SUBQTY;
    }

    public void setSUBQTY(String SUBQTY) {
      this.SUBQTY = SUBQTY;
    }

    public String getSTATE() {
      return STATE == null ? "" : STATE;
    }

    public void setSTATE(String STATE) {
      this.STATE = STATE;
    }

    public String getHOLDSTATE() {
      return HOLDSTATE == null ? "" : HOLDSTATE;
    }

    public void setHOLDSTATE(String HOLDSTATE) {
      this.HOLDSTATE = HOLDSTATE;
    }

    public String getMATERIALRRN() {
      return MATERIALRRN == null ? "" : MATERIALRRN;
    }

    public void setMATERIALRRN(String MATERIALRRN) {
      this.MATERIALRRN = MATERIALRRN;
    }

    public String getMATERIALNAME() {
      return MATERIALNAME == null ? "" : MATERIALNAME;
    }

    public void setMATERIALNAME(String MATERIALNAME) {
      this.MATERIALNAME = MATERIALNAME;
    }

    public String getMATERIALDESC() {
      return MATERIALDESC == null ? "" : MATERIALDESC;
    }

    public void setMATERIALDESC(String MATERIALDESC) {
      this.MATERIALDESC = MATERIALDESC;
    }

    public String getMATERIALTYPE() {
      return MATERIALTYPE == null ? "" : MATERIALTYPE;
    }

    public void setMATERIALTYPE(String MATERIALTYPE) {
      this.MATERIALTYPE = MATERIALTYPE;
    }

    public String getPARTNERCODE() {
      return PARTNERCODE == null ? "" : PARTNERCODE;
    }

    public void setPARTNERCODE(String PARTNERCODE) {
      this.PARTNERCODE = PARTNERCODE;
    }

    public String getPARTNERLOTID() {
      return PARTNERLOTID == null ? "" : PARTNERLOTID;
    }

    public void setPARTNERLOTID(String PARTNERLOTID) {
      this.PARTNERLOTID = PARTNERLOTID;
    }

    public String getTRANSMAINQTY() {
      return TRANSMAINQTY == null ? "" : TRANSMAINQTY;
    }

    public void setTRANSMAINQTY(String TRANSMAINQTY) {
      this.TRANSMAINQTY = TRANSMAINQTY;
    }

    public String getUSEQTY() {
      return USEQTY == null ? "" : USEQTY;
    }

    public void setUSEQTY(String USEQTY) {
      this.USEQTY = USEQTY;
    }

    public String getISTIMESENSITIVE() {
      return ISTIMESENSITIVE == null ? "" : ISTIMESENSITIVE;
    }

    public void setISTIMESENSITIVE(String ISTIMESENSITIVE) {
      this.ISTIMESENSITIVE = ISTIMESENSITIVE;
    }

    public String getCREATED() {
      return CREATED == null ? "" : CREATED;
    }

    public void setCREATED(String CREATED) {
      this.CREATED = CREATED;
    }

    public String getLOTCOMMENT() {
      return LOTCOMMENT == null ? "" : LOTCOMMENT;
    }

    public void setLOTCOMMENT(String LOTCOMMENT) {
      this.LOTCOMMENT = LOTCOMMENT;
    }

    public String getUOMID() {
      return UOMID == null ? "" : UOMID;
    }

    public void setUOMID(String UOMID) {
      this.UOMID = UOMID;
    }

    public String getBATCHTYPE() {
      return BATCHTYPE == null ? "" : BATCHTYPE;
    }

    public void setBATCHTYPE(String BATCHTYPE) {
      this.BATCHTYPE = BATCHTYPE;
    }
  }
}
